home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright (C) 1987, 1988-1995 The Santa Cruz Operation, Inc.
- * All Rights Reserved.
- *
- * The information in this file is provided for the exclusive use of
- * the licensees of The Santa Cruz Operation, Inc. Such users have the
- * right to use, modify, and incorporate this code into other products
- * for purposes authorized by the license agreement provided they include
- * this notice and the associated copyright notice with any such product.
- * The information in this file is provided "AS IS" without warranty.
- */
-
- /* Portions Copyright (c) 1990, 1991, 1992, 1993 UNIX System Laboratories, Inc. */
- /* Portions Copyright (c) 1979 - 1990 AT&T */
- /* All Rights Reserved */
-
- /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF */
- /* UNIX System Laboratories, Inc. */
- /* The copyright notice above does not evidence any */
- /* actual or intended publication of such source code. */
-
- #ifndef _LOCALE_H
- #ifndef _PARAMS
- #if defined(__STDC__) || defined(__cplusplus)
- #define _PARAMS(ARGS) ARGS
- #else
- #define _PARAMS(ARGS) ()
- #endif
- #endif /* _PARAMS */
- #define _LOCALE_H
-
- #ident "oldstyle @(#) locale.h 20.1 94/12/04 "
-
- #pragma pack(4)
-
-
- #ifndef _STRUCT_LCONV
- #define _STRUCT_LCONV
- struct lconv
- {
- char *decimal_point;
- char *thousands_sep;
- char *grouping;
- char *int_curr_symbol;
- char *currency_symbol;
- char *mon_decimal_point;
- char *mon_thousands_sep;
- char *mon_grouping;
- char *positive_sign;
- char *negative_sign;
- char int_frac_digits;
- char frac_digits;
- char p_cs_precedes;
- char p_sep_by_space;
- char n_cs_precedes;
- char n_sep_by_space;
- char p_sign_posn;
- char n_sign_posn;
- };
- #endif
-
- #define LC_ALL 1 /* All the following */
- #define LC_CTYPE 2 /* ctype(S), conv(S) */
- #define LC_NUMERIC 3 /* printf(S), etc. */
- #define LC_TIME 4 /* strftime(S) */
- #define LC_COLLATE 5 /* strxfrm(S), strcoll(S) */
- #define LC_MESSAGES 6 /* Not yet used */
- #define LC_MONETARY 7 /* Not yet used */
- #define _LC_NUM_CATS 8 /* Number of locale catagories, first 2 empty */
-
- #ifndef NULL
- #define NULL 0
- #endif /* NULL */
-
- extern char *setlocale _PARAMS((int, const char *));
- extern struct lconv *localeconv();
-
-
- #pragma pack()
-
- #endif /* _LOCALE_H */
-